package ru.lukyanets.transmission.protocol.model.torrent;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import lombok.Getter;
import lombok.Setter;

/**
 * @author slukyanets
 */
@SuppressWarnings({"unused", "WeakerAccess"})
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
        "bytesCompleted",
        "priority",
        "wanted"
})
@Getter
@Setter
public class FileStat {

    @JsonProperty("bytesCompleted")
    private long bytesCompleted;
    @JsonProperty("priority")
    private int priority;
    @JsonProperty("wanted")
    private boolean wanted;
}
